package com.github.shiqiyue.app.config.gson;

import com.google.gson.GsonBuilder;
import org.springframework.boot.autoconfigure.gson.GsonBuilderCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GsonConfiguration {

    @Bean
    public GsonBuilderCustomizer gsonBuilderCustomizer() {
        GsonBuilderCustomizer gsonBuilderCustomizer = new GsonBuilderCustomizer() {
            @Override
            public void customize(GsonBuilder gsonBuilder) {

            }
        };
        return gsonBuilderCustomizer;
    }

}
